<template>
  <div>
    <i
        class="el-icon-setting"
        @click="visible_state = true"
        :style="{ color: head_icon_color }"
    />
    <el-drawer
        title="更新日志"
        :with-header="false"
        :visible.sync="visible_state"
        size="400px"
        style="margin-top: 65px"
    >
      <div id="bord">
        <p style="margin-left: 10px">更心日志：</p>
        <hr style="color: #dcdfe6" />
        <div align="left">
          <div class="block">
            <el-timeline>
              <el-timeline-item timestamp="2021/01/05" placement="top" color="#0bbd87">
                <el-card>
                  <p>1.修复session获取不到的问题
                  </p>
                  <p>2.部分代码进行了优化
                  </p>
                  <p>3.修复了浏览器上title显示不正确的bug
                  </p>
                </el-card>
              </el-timeline-item>
              <el-timeline-item timestamp="2020/12/12" placement="top" color="#0bbd87">
                <el-card>
                  <p>1.修复企业模块信息修改不了的bug
                  </p>
                </el-card>
              </el-timeline-item>
              <el-timeline-item timestamp="2020/12/12" placement="top" color="#0bbd87">
                <el-card>
                  <p>1.修复头像上传后页面没有发生变化的bug
                  </p>
                  <p>
                    2.修复部署后图片路径错误的bug
                  </p>
                  <p>
                    3.修复部署后班主任模块数据加载不了的bug
                  </p>
                  <p>
                    4.修复注册模块表单可以恶意提交的bug
                  </p>
                  <p>
                    5.修复下载简历功能中简历文件为中文时发生乱码的bug
                  </p>
                  <p>
                    6.修改了图片验证码的部分问题
                  </p>
                </el-card>
              </el-timeline-item>
              <el-timeline-item timestamp="2020/12/7" placement="top">
                <el-card>
                  <h4>前端UI重写</h4>
                  1.重写了前端代码，改用vue实现，看起来更加漂亮<br>
                  2.更改了数据库部分字段<br>
                  3.添加了企业下载学生简历的功能<br>
                </el-card>
              </el-timeline-item>
              <el-timeline-item timestamp="2020/11/27" placement="top">
                <el-card>
                  <h4>完成了学生、班主任、企业模块的编写</h4>
                </el-card>
              </el-timeline-item>
            </el-timeline>
          </div>
        </div>
      </div>
    </el-drawer>
  </div>
</template>
<script>
export default {
  data() {
    return {
      visible_state: false,
      head_icon_color: JSON.parse(sessionStorage.getItem("menu_color"))
          .head_icon_color,
    };
  },
};
</script>
<style scoped>
a {
  word-break: break-all;
}
#bord {
  width: 100%;
  word-break: break-all;
}
</style>